import React from "react";

import { useScroller } from "../useScroller";

export default {
  title: "UseScroller",
};

export function UseScrollerExample() {
  const scoller = useScroller({ x: 10, y: 10, isSmooth: false });
  return (
    <div className="test">
      <p onClick={scoller}>Click Me</p>
    </div>
  );
}
